package Service;

import domain.PromotionSpace;
import org.springframework.stereotype.Service;

import java.util.List;


public interface PromotionSpaceService {

    /*
        获取所有广告位
    */
    public List<PromotionSpace> findAllPromotionSpace();

    /*
        添加广告
     */
    public void savePromotion(PromotionSpace promotionSpace);

    /*
        根据Id 查询广告位信息
     */
    public PromotionSpace findPromitionById(int id);

    /*
        修改广告信息
     */
    public void updatePromotion(PromotionSpace promotionSpace);
}
